
#include "DeleteRequest.h"

DeleteRequest::DeleteRequest() {
	method = "DELETE";
	uri = "";
	version = "HTTP/1.1";
}

DeleteRequest::DeleteRequest(stringstream& s) : Request(s) 
{ //runs Request(s) logic, then DeleteRequest(s) logic
        method = "DELETE";
}

DeleteRequest DeleteRequest::operator =(DeleteRequest& rhs) {
	method = rhs.method;
	uri  = rhs.uri;
	version = rhs.version;
	headers = rhs.headers; // May need to iterate through headers and add in items.
	return *this;
}
Response DeleteRequest::processRequest()
{
    Response resp;
    resp.statusCode = "403";
    resp.reasonPhrase = "Forbidden";
    resp.MakeHeader();
    return resp;
}
void DeleteRequest::PrintInfo()
{
    Request::PrintInfo();
}
